// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  &__input {
    display: none;
  }

  input[type='file'] {
    display: none !important;
  }

  &-list {
    &__item {
      transition: none;
    }

    img {
      object-fit: contain;
    }
  }
}

// message
.el-message {
  &__content {
    display: inline-block\0;
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  position: relative;
  left: 0;
  display: inline-block;
  margin: 0 auto !important;
  text-align: left;
  vertical-align: middle;
  transform: none;

  &__wrapper {
    text-align: center;

    &::after {
      display: inline-block;
      width: 0;
      height: 100%;
      vertical-align: middle;
      content: '';
    }
  }

  &__body {
    padding: 20px;
  }

  &__footer {
    padding-top: 0;
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}

.el-table {
  &--mini,
  &--small,
  &__expand-icon {
    font-size: 14px;
  }
}

.image-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 20px;
  color: #909399;
  background: #F5F7FA;
}
